const getters = {
  isMobile: state => state.app.isMobile,
  lang: state => state.app.lang,
  theme: state => state.app.theme,
  color: state => state.app.color,

  
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  nickname: state => state.user.name,
  welcome: state => state.user.welcome,
  roles: state => state.user.roles,
  userInfo: state => state.user.info,
  baseUrl: state => state.user.baseUrl,
  wx: state => state.user.wx,
  ali: state => state.user.ali,
  headImg: state => state.user.headImg,

  addRouters: state => state.permission.addRouters,
  rolsAction: state => state.permission.rolsAction,

  multiTab: state => state.app.multiTab,
  CGUrl: state => state.app.CGUrl,
  
  // table
  tableColumns: state => state.table.tableColumns,

  platformTemplateItem: state => state.platformTemplate.platformTemplateItem,
  signatureItem: state => state.platformTemplate.signatureItem,


  identify: state => state.service.identify,
  sKey: state => state.service.sKey,

}

export default getters
